package staticdemo_d2;

public class Student {
    static int number=80;
    //静态代码块
    static{
        System.out.println("静态代码块执行了");
    }

    //实例代码块
    {
        System.out.println("实例代码块执行了");
    }
}
